"use strict";
var __extends = (this && this.__extends) || (function () {
    var extendStatics = Object.setPrototypeOf ||
        ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
        function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
    return function (d, b) {
        extendStatics(d, b);
        function __() { this.constructor = d; }
        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
    };
})();
var Stu2 = /** @class */ (function () {
    function Stu2(name) {
        this.name = "李小明";
        this.name = name;
    }
    return Stu2;
}());
var Cls2 = /** @class */ (function (_super) {
    __extends(Cls2, _super);
    function Cls2(_name) {
        var _this = _super.call(this, _name) || this;
        _this.age = 18;
        return _this;
    }
    Cls2.prototype.log2 = function () {
        console.log(this.name, this.age);
    };
    return Cls2;
}(Stu2));
var c2 = new Cls2("李明明");
c2.log2();
